<template>
  <div>
      <el-tag type="success" v-if="directionTypeVal=='JIE'">借</el-tag>
      <el-tag type="danger" v-else>贷</el-tag>
  </div>
</template>

<script setup>

const props = defineProps({
  directionTypeVal: {
    type: String,
    default: ""
  },
});

</script>